bgp enforce-first-as

This command configures a BGP routing process to remove updates received from external BGP peers that do not list their Autonomous System (AS) number as the first AS path segment in the AS_PATH attribute of the incoming route.

Syntax

bgp enforce-first-as

Default

NA

Command Mode

Privileged User

Example

This example is an example of how this command is used.

# configure data
(config-data)# router bgp 2
(conf-router)# bgp enforce-first-as